<%@page pageEncoding="UTF-8"%>
<html>
	<title>jqGrid01</title>
    <head>
        <script type="text/javascript"  src="common/js/jquery-ui-1.8.18.custom.min.js" ></script>
		<script type="text/javascript"  src="common/js/jquery-1.83.js" ></script> 
        <script type="text/javascript"  src="common/js/i18n/grid.locale-cn.js" ></script> 
        <script type="text/javascript"  src="common/js/jquery.jqGrid.src.js" ></script> 
        <script type="text/javascript"  src="common/js/wrlist.js" ></script>
        <link rel="stylesheet" type="text/css" href="common/css/ui.jqgrid.css">
        <link rel="stylesheet" type="text/css" href="common/css/jquery-ui-1.8.18.custom.css">
	</head>  
	<body>
        <h2>  
			Jqgrid test
        </h2>  
        <div>  
            <table id="gridTable"></table>  
            <div id="gridPager"></div>  
        </div>
        <div>  
            <button onclick="openDialog4Adding()">add wr</button>  
            <button onclick="openDialog4Updating()">update wr</button>  
            <button onclick="openDialog4Deleting()">del wr</button>  
        </div>  
          
        <div id="consoleDlg">  
            <div id="formContainer">  
                <form id="consoleForm">  
                    <input type="hidden" id="selectId"/>  
                    <table class="formTable">  
                        <tr>  
                            <th>WRID：</th>  
                            <td>  
                                <input type="text" class="textField" id="wrId" name="wrId" />  
                            </td>  
                        </tr>  
                        <tr>  
                            <th>WRNAME：</th>  
                            <td>  
                                <input type="text" class="textField" id="wrName" name="wrName" />  
                            </td>  
                        </tr>  
                        <tr>  
                            <th>status_key：</th>  
                            <td>  
                                <input type="text" class="textField" id="status_key" name="status_key" />  
                            </td>  
                        </tr>  
                        <tr>  
                            <th>actual_hour：</th>  
                            <td>  
                                <input type="text" class="textField" id="actual_hour" name="actual_hour" />  
                            </td>  
                        </tr>                     
                    </table>  
                </form>  
            </div>  
        </div>  
    </body>  
</html>